Total Complexity | 28 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 142 |
Lines of code | 102 |
Logical lines of code | 63 |
Comment lines | 0 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
is_cart_mixed_with_subscription() | 58 | 4 | 16 | |
limit_same_subscriptions() | 59 | 4 | 15 | |
subscription_exceeds_limit() | 61 | 4 | 12 | |
limit_duplicate_subscriptions_cart_update() | 62 | 3 | 12 | |
disallow_subscription_single_product_cart() | 62 | 3 | 12 | |
get_subscription_count() | 64 | 3 | 10 | |
count_subscriptions_in_cart() | 65 | 3 | 9 | |
__construct() | 82 | 1 | 3 | |
init_hooks() | 69 | 1 | 6 | |
is_virtual_product() | 81 | 1 | 3 | |
customize_billing_neighborhood_field() | 75 | 1 | 4 |